#include<bits/stdc++.h>
using namespace std;
int main(){
    double h;
    int r;
    cin>>r;
    h = 4 * 3.14 * (1.0 * r * r * r) / 3;
    printf("%.5lf", h);
    return 0;
}
